package com.second.client;

import com.second.client.config.RsaKeyProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @program: clms-second
 * @description: 客户模块主启动类
 * @author: Lv Yongqi
 * @create: 2021-07-23 09:27
 **/
@SpringBootApplication
@MapperScan("com.second.client.dao")
@ComponentScan("com.second")
@EnableTransactionManagement
@EnableConfigurationProperties(RsaKeyProperties.class)
public class ClientApp {
    public static void main(String[] args) {
        SpringApplication.run(ClientApp.class,args);
    }
}
